package com.tykj.yangningyu.chatdemo;

import android.app.Application;

import com.avos.avoscloud.AVOSCloud;
import com.avos.avoscloud.im.v2.AVIMClient;

/**
 * 作者：yangningyu on 2017/1/6 11:15
 * 邮箱：13315169475@163.com
 */


public class ChatApp extends Application {
    //设置全局client
    public static AVIMClient mClient;

    @Override
    public void onCreate() {
        super.onCreate();
        AVOSCloud.initialize(getApplicationContext(), "cfNPglDvyOfGNLdrtjRhQE9I-gzGzoHsz", "fprNFMgIOjvlFr7FrpmEDWOa");
//        AVIMClient.setOfflineMessagePush(true);

    }
}
